package modules.enlist
{
	import core.model.PlayerModel;
	import core.model.events.PlayerModelEvent;
	
	import flash.events.Event;
	
	import values.item.ItemTemplateKeyType;
	
	import view.component.window.WindowComponent;
	
	public class EnlistUI extends WindowComponent
	{
		public function EnlistUI()
		{
			super();
		}
		
		[Inject]
		public var playerModel:PlayerModel;
		
		override protected function get skinReference():String
		{
			return "swf.ui.EnlistAvatarSkin";
		}
		
		override protected function get proxyMapping():Array
		{
			return [ 
				{ skin:"", classRef: EnlistUIProxy, id:"window" }
			];
		}
		
		override public function get width():Number
		{
			return 562;
		}
		
		override public function get height():Number
		{
			return 505;
		}
		
		override public function close():void
		{
			this.dispatchEvent(new Event(Event.CLOSE));
			super.close();
		}
		
	}
}